package fiuba.dao;

import java.util.List;

import fiuba.model.LabelValue;
import fiuba.model.MenuItem;

public interface MenuItemDao extends GenericDao <MenuItem, Long>{

	/**
     * Gets menuItem information based on menuItemName
     * @param menuItemName
     * @return populated MenuItem object
     */
	MenuItem getMenuItemByName(String menuItemName);
	
	/**
     * Saves a menu's information.
     * @param menu the object to be saved
     * @return the persisted Menu object
     */
	MenuItem saveMenuItem (MenuItem menuItem);
	
	/**
     * Gets a list of menus ordered by the menu name.
     *
     * @return List populated list of menus
     */
    List<MenuItem> getMenuItems();
    
    public List<LabelValue> getItemList();

}
